namespace Book_Shop.DAL.DAO
{
    public class Book
    {
        public Book()
        {
            Qty = 1;
        }

        public int Id { get; set; }
        public string Author { get; set; }
        public string Title { get; set; }
        public string ISBN { get; set; }
        public double UnitPrice { get; set; }
        public string Publisher { get; set; }
        public string Category { get; set; }

        public double TotalPrice
        {
            get { return Qty*UnitPrice; }
        }
        public int Qty { get; set; }
    }
}